package com.movie.model.auto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDate;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户评分表
 * </p>
 *
 * @author 达瓦里氏
 * @since 2021-12-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class UserScore extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 电影评分表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    /**
     * 电影ID
     */
    private int filmId;

    /**
     * 用户ID
     */
    private int userId;

    /**
     * 用户评分
     */
    private int score;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    private LocalDateTime updateTime;


}
